package com.iotp.dao.expert;

import com.iotp.entity.expert.Expert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExpertMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Expert record);

    int insertSelective(Expert record);

    Expert selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Expert record);

    int updateByPrimaryKeyWithBLOBs(Expert record);

    int updateByPrimaryKey(Expert record);

    List<Expert> selectByCondition(Expert expert);

    List<Expert> selectLimit();

    Expert selectByUserId(String userId);


}